package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Department;
import com.example.demo.entity.Role;
import org.springframework.stereotype.Service;

/**
 * @author moguai
 * @version 1.0
 * @date 2022/3/18 16:28
 */
@Service
public interface DepartmentService extends IService<Department> {
    void InsertDepartment(Integer id, String name);
    void UpdateDepartment(Integer id,String name);
    void DeleteDepartment(Integer id);
    Department SelectDepartment(Integer id);
}

